package com.springboot.dto;

/**
 * 用于通知列表的视图
 */
public class DoctorMessageList {
    private Integer infoId;
    private Integer infoType;
    private String state;
    public String currDate;
    public String currTime;
    private String appointDate;
    private String appointTime;
    private String patientName;
    private String patientTel;
    private String assistantName;
    private String assistantTel;
    private String doctorName;
    private String doctorTel;

    public DoctorMessageList(){
    }

    public Integer getInfoId() {
        return infoId;
    }

    public void setInfoId(Integer infoId) {
        this.infoId = infoId;
    }

    public Integer getInfoType() {
        return infoType;
    }

    public void setInfoType(Integer infoType) {
        this.infoType = infoType;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getCurrDate() {
        return currDate;
    }

    public void setCurrDate(String currDate) {
        this.currDate = currDate;
    }

    public String getCurrTime() {
        return currTime;
    }

    public void setCurrTime(String currTime) {
        this.currTime = currTime;
    }

    public String getAppointDate() {
        return appointDate;
    }

    public void setAppointDate(String appointDate) {
        this.appointDate = appointDate;
    }

    public String getAppointTime() {
        return appointTime;
    }

    public void setAppointTime(String appointTime) {
        this.appointTime = appointTime;
    }

    public String getPatientName() {
        return patientName;
    }

    public void setPatientName(String patientName) {
        this.patientName = patientName;
    }

    public String getPatientTel() {
        return patientTel;
    }

    public void setPatientTel(String patientTel) {
        this.patientTel = patientTel;
    }

    public String getAssistantName() {
        return assistantName;
    }

    public void setAssistantName(String assistantName) {
        this.assistantName = assistantName;
    }

    public String getAssistantTel() {
        return assistantTel;
    }

    public void setAssistantTel(String assistantTel) {
        this.assistantTel = assistantTel;
    }

    public String getDoctorName() {
        return doctorName;
    }

    public void setDoctorName(String doctorName) {
        this.doctorName = doctorName;
    }

    public String getDoctorTel() {
        return doctorTel;
    }

    public void setDoctorTel(String doctorTel) {
        this.doctorTel = doctorTel;
    }

    //封装Json格式字符串
    @Override
    public String toString() {
        return "{" +
                "\"infoId\":\"" + infoId + '\"' +
                ", \"infoType\":\"" + infoType + '\"' +
                ", \"state\":\"" + state + '\"' +
                ", \"currDate\":\""+ currDate + '\"' +
                ", \"currTime\":\""+ currTime + '\"' +
                ", \"appointDate\":\""+ appointDate + '\"' +
                ", \"appointTime\":\""+ appointTime + '\"' +
                ", \"patientName\":\""+ patientName + '\"' +
                ", \"patientTel\":\""+ patientTel + '\"' +
                ", \"assistantName\":\""+ assistantName + '\"' +
                ", \"assistantTel\":\""+ assistantTel + '\"' +
                ", \"doctorName\":\""+ doctorName + '\"' +
                ", \"doctorTel\":\""+ doctorTel + '\"' +
                '}';
    }
}
